PathVertex

data class PathVertex(val point: Vector2, val inTangent: Vector2 = Vector2(0F, 0F), val outTangent: Vector2 = Vector2(0F, 0F))

One vertex of a bezier path. Experimental: this API may change in a minor release.

Constructors

Link copied to clipboard
constructor(point: Vector2, inTangent: Vector2 = Vector2(0F, 0F), outTangent: Vector2 = Vector2(0F, 0F))

Properties

Link copied to clipboard

The incoming tangent, relative to point.

Link copied to clipboard

The outgoing tangent, relative to point.

Link copied to clipboard

The position of the vertex.